<?php


namespace app\demo\middleware;


use think\Response;

class Detail
{
    public function handle($request, \Closure $next){
        $request->type = 'hello';
        return $next($request);
    }
    public function end(Response $response){

    }
}